package cn.eonshine.cuba.inf.modular.basic.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

/**
 * <p>
 * Industry（行业信息）
 * </p>
 *
 * @author Alan
 * @since 2018-10-23
 */
@TableName("inf_industry")
public class InfIndustry extends Model<InfIndustry> {

    private static final long serialVersionUID = 1L;
    
    @TableField(exist = false)
    private String id;
    /**
     * key 主键
     */
    @TableId("CODE")
    private String code;
    /**
     * full name 全称
     */
    @TableField("FULL_NAME")
    private String fullName;
    /**
     * short name 简称
     */
    @TableField("SHORT_NAME")
    private String shortName;
    /**
     * is use 是否使用
     */
    @TableField("IS_USE")
    private String isUse;
    /**
     * creator
             创建者
     */
    @TableField("CREATE_BY")
    private String createBy;
    /**
     * Create time
             创建时间
     */
    @TableField("CREATE_DATE")
    private Date createDate;
    /**
     * updater
             更新者
     */
    @TableField("UPDATE_BY")
    private String updateBy;
    /**
     * Update time
             更新时间
     */
    @TableField("UPDATE_DATE")
    private Date updateDate;
    /**
     * Remarks information
             备注信息
     */
    @TableField("REMARKS")
    private String remarks;
    /**
     * Delete the tag field
             删除标记
     */
    @TableField("DEL_FLAG")
    private String delFlag;
    /**
     * Data collection status 数据采集状态
     */
    @TableField("LSMS_UPDATE")
    private BigDecimal lsmsUpdate;
    /**
     * Data input datetime 数据更新时间
     */
    @TableField("DATA_INPUT_DATETIME")
    private Date dataInputDatetime;


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getFullName() {
        return fullName;
    }

    public void setFullName(String fullName) {
        this.fullName = fullName;
    }

    public String getShortName() {
        return shortName;
    }

    public void setShortName(String shortName) {
        this.shortName = shortName;
    }

    public String getIsUse() {
        return isUse;
    }

    public void setIsUse(String isUse) {
        this.isUse = isUse;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public BigDecimal getLsmsUpdate() {
        return lsmsUpdate;
    }

    public void setLsmsUpdate(BigDecimal lsmsUpdate) {
        this.lsmsUpdate = lsmsUpdate;
    }

    public Date getDataInputDatetime() {
        return dataInputDatetime;
    }

    public void setDataInputDatetime(Date dataInputDatetime) {
        this.dataInputDatetime = dataInputDatetime;
    }

    @Override
    protected Serializable pkVal() {
        return this.code;
    }

    @Override
    public String toString() {
        return "InfIndustry{" +
        ", code=" + code +
        ", fullName=" + fullName +
        ", shortName=" + shortName +
        ", isUse=" + isUse +
        ", createBy=" + createBy +
        ", createDate=" + createDate +
        ", updateBy=" + updateBy +
        ", updateDate=" + updateDate +
        ", remarks=" + remarks +
        ", delFlag=" + delFlag +
        ", lsmsUpdate=" + lsmsUpdate +
        ", dataInputDatetime=" + dataInputDatetime +
        "}";
    }
}
